package job.work.domain.course;

/**
 * @author wu on 2020/1/13 0013
 */
public class CommonExcetion extends RuntimeException {
    private  int code;
    private String message;
    public CommonExcetion(int code,String message){
        this.code=code;
        this.message=message;
    }

    public int getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }


}
